home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / CAD / PADSLOG.ARJ / LOGIC.EXE / PADSGO.BAT < prev    next >
DOS Batch File  |  1992-01-08  |  3KB  |  155 lines

  1. @echo off
  2.  
  3. front /X
  4.  
  5. if exist therm.1 ren therm.1 therm.0
  6.  
  7. :top1
  8.  
  9. if exist therm.1 goto THERM
  10.  
  11. front
  12. goto SKIP
  13.  
  14. :THERM
  15. front THERM
  16.  
  17. :SKIP
  18.  
  19. if errorlevel 12 goto thermal2
  20. if errorlevel 11 goto thermal1
  21. if errorlevel 10 goto end
  22. if errorlevel 9 goto pwrite
  23. if errorlevel 8 goto pread
  24. if errorlevel 6 goto pedit
  25. if errorlevel 5 goto plib
  26. if errorlevel 4 goto cedit
  27. if errorlevel 3 goto superroute
  28. if errorlevel 2 goto pcb
  29. if errorlevel 1 goto logic
  30. goto end
  31.  
  32. :plib
  33. if exist therm.1 ren therm.1 therm.0 
  34. if not exist plib.exe goto bad
  35. plib
  36. goto top1
  37.  
  38. :pedit
  39. if exist therm.1 ren therm.1 therm.0 
  40. if not exist pedit.exe goto bad
  41. pedit /P /B pedit.tmp
  42. goto top1
  43.  
  44. :cedit
  45. if exist therm.1 ren therm.1 therm.0 
  46. if not exist pedit.exe goto bad
  47. pedit /C /B pedit.tmp
  48. goto top1
  49.  
  50.  
  51. :superroute
  52. if exist therm.1 ren therm.1 therm.0 
  53. if not exist sroute.bat goto bad
  54. cls
  55.  
  56. rem The following command " qemm off " is used to turn off your expanded
  57. rem memory manager on a 80386 computer. If you are using a 80286 computer,
  58. rem you should delete this command.
  59.  
  60. qemm off
  61.  
  62. call sroute
  63.  
  64. rem The following command " qemm on " is used to turn on your expanded
  65. rem memory manager on a 80386 computer. If you are using a 80286 computer,
  66. rem you should delete this command.
  67.  
  68. qemm on
  69. goto top1
  70.  
  71. :pread
  72. cls
  73. if exist therm.1 ren therm.1 therm.0 
  74. if not exist pread.exe goto bad
  75. pread
  76. goto top1
  77.  
  78. :pwrite
  79. cls
  80. if exist therm.1 ren therm.1 therm.0 
  81. if not exist pwrite.exe goto bad
  82. pwrite
  83. goto top1
  84.  
  85. :pcb
  86. if exist therm.1 ren therm.1 therm.0 
  87. if not exist pcbshare.exe goto bad
  88. pcbshare /m
  89. goto top1
  90.  
  91. :thermal1
  92. if exist therm.0 ren therm.0 therm.1 
  93. if not exist itf.exe goto bad
  94. cd thermal
  95. itf
  96. goto top1
  97.  
  98.  
  99. :thermal2
  100. if exist therm.0 ren therm.0 therm.1 
  101. if not exist thermal.exe goto bad
  102. cd thermal
  103. call thermal
  104. goto top1
  105.  
  106.  
  107.  
  108. :logic
  109. if exist therm.1 ren therm.1 therm.0 
  110. if not exist logshare.exe goto bad
  111. front /L
  112. if exist logfil\startup.mac del logfil\startup.mac >nul
  113. if exist logfil\$$$tmp.sch del logfil\$$$tmp.sch >nul
  114. :top
  115. if not exist logfil\startup.mac goto userparms
  116. logshare /s /r:logfil\startup.mac
  117. if exist logfil\startup.mac del logfil\startup.mac >nul
  118. goto errcheck
  119. :userparms
  120. logshare /m
  121. :errcheck
  122. if errorlevel 2 goto netlist
  123. if errorlevel 1 goto eco
  124. if errorlevel 0 goto end0
  125.  
  126. :eco
  127. cls
  128. ecogen @logfil\info.tmp
  129. Pause
  130. if exist logfil\tmp0.asc del logfil\tmp0.asc >nul
  131. if exist logfil\tmp1.asc del logfil\tmp1.asc >nul
  132. if exist logfil\info.tmp del logfil\info.tmp >nul
  133. copy eco.mac logfil\startup.mac >nul
  134. goto top
  135.  
  136. :netlist
  137. cls
  138. xlate logfil\info.tmp
  139. Pause
  140. if exist logfil\info.tmp del logfil\info.tmp
  141. if exist logfil\repout.net del logfil\repout.net
  142. copy netlst.mac logfil\startup.mac >nul
  143. goto top
  144.  
  145. :end0
  146. goto top1
  147.  
  148.  
  149. :bad
  150. echo Separate demostration disk is available at PADS Software Inc.
  151. pause
  152. goto top1
  153.  
  154. :end
  155.